
import React from "react"
// svg
import { ReactComponent as CircuitSvg } from '../../assets/svg/minZuCun2.svg';
import { $homePageSvgComponentPropsInterface } from "../../interface";
import HomePage_SvgComponent from ".";

// 主页-民族村2svg组件

const HomePage_MinZuCun2SvgComponent: React.FC<$homePageSvgComponentPropsInterface> = (props) => {
    const width = 2690
    const height = 1130
    const cardList = [
        {
            name: "高压母线",
            top: 35,
            left: 319,
            key: "",
        },
        {
            name: "低压母线-左",
            top: 145,
            left: 59,
            key: "",
        },
        {
            name: "变压器1-左",
            top: 92,
            left: 442,
            key: "",
        },
        {
            name: "变压器1-右",
            top: 148,
            left: 934,
            key: "",
        },
        {
            name: "主供电源进线",
            top: 148,
            left: 1061,
            key: "",
        },
        {
            name: "备用电源进线",
            top: 148,
            left: 1194,
            key: "",
        },
        {
            name: "计量柜",
            top: 148,
            left: 1366,
            key: "",
        },
        {
            name: "PT柜",
            top: 148,
            left: 1499,
            key: "",
            unit:"kV"
        },
        {
            name: "横洞变电所主供",
            top: 148,
            left: 1629,
            key: "",
        },
        {
            name: "进口变电所备用",
            top: 148,
            left: 1748,
            key: "",
        },
        {
            name: "变压器2",
            top: 92,
            left: 2130,
            key: "",
        },
        {
            name: "低压母线-右",
            top: 145,
            left: 2541,
            key: "",
        },
        {
            name: "左洞基本照明1-1-左",
            top: 269,
            left: 128,
            key: "",
        },
        {
            name: "左洞基本照明2-1-左",
            top: 269,
            left: 247,
            key: "",
        },
        {
            name: "左洞基本照明3-1-左",
            top: 269,
            left: 366,
            key: "",
        },
        {
            name: "左洞基本照明4-1-左",
            top: 269,
            left: 485,
            key: "",
        }, 
        {
            name: "左洞基本照明5-1-左",
            top: 269,
            left: 604,
            key: "",
        },
        {
            name: "左洞基本照明6-1-左",
            top: 269,
            left: 723,
            key: "",
        },
        {
            name: "左洞出口加强照明",
            top: 269,
            left: 842,
            key: "",
        },
        {
            name: "备用2-1-左",
            top: 269,
            left: 961,
            key: "",
        },
        {
            name: "备用3-1-左",
            top: 269,
            left: 1080,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 269,
            left: 1199,
            key: "",
        },
        {
            name: "母联柜",
            top: 269,
            left: 1392,
            key: "",
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 269,
            left: 1508,
            key: "",
        },
        {
            name: "通风风机1",
            top: 269,
            left: 1626,
            key: "",
        },
        {
            name: "通风风机2",
            top: 269,
            left: 1744,
            key: "",
        },
        {
            name: "排烟风机1",
            top: 269,
            left: 1862,
            key: "",
        },
        {
            name: "排烟风机2",
            top: 269,
            left: 1980,
            key: "",
        },
        {
            name: "排烟风机3",
            top: 269,
            left: 2098,
            key: "",
        },
        {
            name: "消防（备）",
            top: 269,
            left: 2216,
            key: "",
        },
        {
            name: "备用1-1-右",
            top: 269,
            left: 2334,
            key: "",
        },
        {
            name: "备用2-1-右",
            top: 269,
            left: 2452,
            key: "",
        },
        {
            name: "备用3-1-右",
            top: 269,
            left: 2570,
            key: "",
        },
        {
            name: "左洞基本照明1-2-左",
            top: 494,
            left: 128,
            key: "",
        },
        {
            name: "左洞基本照明2-2-左",
            top: 494,
            left: 247,
            key: "",
        },
        {
            name: "左洞基本照明3-2-左",
            top: 494,
            left: 366,
            key: "",
        },
        {
            name: "右洞基本照明1-2-左",
            top: 494,
            left: 485,
            key: "",
        }, {
            name: "右洞基本照明2-2-左",
            top: 494,
            left: 604,
            key: ""
        },
        {
            name: "右洞基本照明3-2-左",
            top: 494,
            left: 723,
            key: ""
        },
        {
            name: "右洞基本照明4-2-左",
            top: 494,
            left: 842,
            key: ""
        },
        {
            name: "备用1-2-左",
            top: 494,
            left: 954,
            key: "",
        },
        {
            name: "备用2-2-左",
            top: 494,
            left: 1072,
            key: "",
        },
        {
            name: "左洞基本照明1-3-左",
            top: 709,
            left: 128,
            key: "",
        },
        {
            name: "左洞基本照明2-3-左",
            top: 709,
            left: 247,
            key: "",
        },
        {
            name: "右洞出口加强照明1-3-左",
            top: 709,
            left: 366,
            key: "",
        },
        {
            name: "右洞出口加强照明2-3-左",
            top: 709,
            left: 485,
            key: "",
        }, {
            name: "大桩号引道照明",
            top: 709,
            left: 604,
            key: ""
        },
        {
            name: "消防（主）",
            top: 709,
            left: 723,
            key: ""
        },
        {
            name: "UPS-3-左",
            top: 709,
            left: 842,
            key: ""
        },
        {
            name: "备用1-3-左",
            top: 709,
            left: 954,
            key: "",
        },
        {
            name: "左洞应急照明1-3-右",
            top: 709,
            left: 1467,
            key: "",
        },
        {
            name: "左洞应急照明2-3-右",
            top: 709,
            left: 1585,
            key: "",
        },
        {
            name: "左洞应急照明3-3-右",
            top: 709,
            left: 1703,
            key: "",
        },
        {
            name: "右洞应急照明1-3-右",
            top: 709,
            left: 1821,
            key: "",
        },
        {
            name: "右洞应急照明2-3-右",
            top: 709,
            left: 1939,
            key: "",
        },
        {
            name: "右洞应急照明3-3-右",
            top: 709,
            left: 2057,
            key: "",
        },
        {
            name: "备用1-3-右",
            top: 709,
            left: 2175,
            key: "",
        },
        {
            name: "备用2-3-右",
            top: 709,
            left: 2293,
            key: "",
        },
        {
            name: "备用3-3-右",
            top: 709,
            left: 2411,
            key: "",
        },
        {
            name: "车行横洞配电箱",
            top: 709,
            left: 2529,
            key: "",
        },
        {
            name: "UPS-4-左",
            top: 934,
            left: 128,
            key: "",
        },
        {
            name: "变电所用电",
            top: 934,
            left: 247,
            key: "",
        },
        {
            name: "左检修插座",
            top: 934,
            left: 366,
            key: "",
        },
        {
            name: "右检修插座",
            top: 934,
            left: 485,
            key: "",
        }, {
            name: "备用1-4-左",
            top: 934,
            left: 604,
            key: ""
        },
        {
            name: "备用2-4-左",
            top: 934,
            left: 723,
            key: ""
        },
        {
            name: "备用3-4-左",
            top: 934,
            left: 842,
            key: ""
        },
        {
            name: "备用4-4-左",
            top: 934,
            left: 954,
            key: "",
        },
        {
            name: "EPS回路",
            top: 934,
            left: 1072,
            key: "",
        },
    ]
    const rowGeneratrixList = ["高压母线", "低压母线-左", "低压母线-右"]
    const row14List = ["变压器1-左", "变压器2"]

    const dialogBoxList = [
        {
            name: "变压器1",
            top: 147,
            left: 574,
            key: "",
            direction: "Up"
        },
        {
            name: "主供电源进线",
            top: 69,
            left: 1046,
            key: "",
            direction: "Down"
        },
        {
            name: "备用电源进线",
            top: 147,
            left: 1176,
            key: "",
            direction: "Up"
        },
        {
            name: "变压器2",
            top: 147,
            left: 2064,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明1-1-左",
            top: 301,
            left: 116,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-1-左",
            top: 378,
            left: 233,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-1-左",
            top: 301,
            left: 352,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明4-1-左",
            top: 378,
            left: 469,
            key: "",
            direction: "Up"
        }, {
            name: "左洞基本照明5-1-左",
            top: 301,
            left: 588,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明6-1-左",
            top: 378,
            left: 705,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞出口加强照明",
            top: 301,
            left: 824,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-1-左",
            top: 378,
            left: 941,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-1-左",
            top: 301,
            left: 1060,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-左",
            top: 378,
            left: 1176,
            key: "",
            direction: "Up"
        },
        {
            name: "母联柜",
            top: 301,
            left: 1376,
            key: "",
            direction: "Down"
        },
        {
            name: "电容补偿+有源滤波-1-右",
            top: 378,
            left: 1493,
            key: "",
            direction: "Up"
        },
        {
            name: "通风风机1",
            top: 301,
            left: 1602,
            key: "",
            direction: "Down"
        },
        {
            name: "通风风机2",
            top: 378,
            left: 1729,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机1",
            top: 301,
            left: 1848,
            key: "",
            direction: "Down"
        },
        {
            name: "排烟风机2",
            top: 378,
            left: 1966,
            key: "",
            direction: "Up"
        },
        {
            name: "排烟风机3",
            top: 301,
            left: 2085,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（备）",
            top: 378,
            left: 2201,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-1-右",
            top: 301,
            left: 2320,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-1-右",
            top: 378,
            left: 2438,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-1-右",
            top: 301,
            left: 2557,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明1-2-左",
            top: 522,
            left: 116,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-2-左",
            top: 599,
            left: 233,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞基本照明3-2-左",
            top: 522,
            left: 352,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明1-2-左",
            top: 599,
            left: 469,
            key: "",
            direction: "Up"
        }, {
            name: "右洞基本照明2-2-左",
            top: 522,
            left: 588,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞基本照明3-2-左",
            top: 599,
            left: 705,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞基本照明4-2-左",
            top: 522,
            left: 824,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-2-左",
            top: 599,
            left: 941,
            key: "",
            direction: "Up"
        },
        {
            name: "备用2-2-左",
            top: 522,
            left: 1060,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明1-3-左",
            top: 743,
            left: 116,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞基本照明2-3-左",
            top: 820,
            left: 233,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞出口加强照明1-3-左",
            top: 743,
            left: 352,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞出口加强照明2-3-左",
            top: 820,
            left: 469,
            key: "",
            direction: "Up"
        }, {
            name: "大桩号引道照明",
            top: 743,
            left: 588,
            key: "",
            direction: "Down"
        },
        {
            name: "消防（主）",
            top: 820,
            left: 705,
            key: "",
            direction: "Up"
        },
        {
            name: "UPS-3-左",
            top: 743,
            left: 824,
            key: "",
            direction: "Down"
        },
        {
            name: "备用1-3-左",
            top: 820,
            left: 941,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明1-3-右",
            top: 743,
            left: 1461,
            key: "",
            direction: "Down"
        },
        {
            name: "左洞应急照明2-3-右",
            top: 820,
            left: 1568,
            key: "",
            direction: "Up"
        },
        {
            name: "左洞应急照明3-3-右",
            top: 743,
            left: 1687,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明1-3-右",
            top: 820,
            left: 1805,
            key: "",
            direction: "Up"
        },
        {
            name: "右洞应急照明2-3-右",
            top: 743,
            left: 1924,
            key: "",
            direction: "Down"
        },
        {
            name: "右洞应急照明3-3-右",
            top: 820,
            left: 2041,
            key: "",
            direction: "Up"
        },
        {
            name: "备用1-3-右",
            top: 743,
            left: 2159,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-3-右",
            top: 820,
            left: 2277,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-3-右",
            top: 743,
            left: 2396,
            key: "",
            direction: "Down"
        },
        {
            name: "车行横洞配电箱",
            top: 820,
            left: 2512,
            key: "",
            direction: "Up"
        },
        {
            name: "UPS-4-左",
            top: 962,
            left: 116,
            key: "",
            direction: "Down"
        },
        {
            name: "变电所用电",
            top: 1039,
            left: 233,
            key: "",
            direction: "Up"
        },
        {
            name: "左检修插座",
            top: 962,
            left: 352,
            key: "",
            direction: "Down"
        },
        {
            name: "右检修插座",
            top: 1039,
            left: 469,
            key: "",
            direction: "Up"
        }, {
            name: "备用1-4-左",
            top: 962,
            left: 588,
            key: "",
            direction: "Down"
        },
        {
            name: "备用2-4-左",
            top: 1039,
            left: 705,
            key: "",
            direction: "Up"
        },
        {
            name: "备用3-4-左",
            top: 962,
            left: 824,
            key: "",
            direction: "Down"
        },
        {
            name: "备用4-4-左",
            top: 1039,
            left: 941,
            key: "",
            direction: "Up"
        },
        {
            name: "EPS回路",
            top: 962,
            left: 1060,
            key: "",
            direction: "Down"
        },
    ]
    return (
        <HomePage_SvgComponent initWidth={width} initHeight={height} pageName={props.pageName} scaleValue={props.scaleValue} isSwitch={props.isSwitch} Svg={CircuitSvg} cardList={cardList} rowGeneratrixList={rowGeneratrixList} row14List={row14List} initDialogBoxList={dialogBoxList} sourceList={props.sourceList}/>
    )
}

export default HomePage_MinZuCun2SvgComponent
